package cn.whale.basic.utils;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

//分页对象：easyui只需两个属性，total(总数),datas（分页数据）就能实现分页
@Data
@AllArgsConstructor
public class PageList<T> {
    private long total;
    private List<T> rows = new ArrayList<>();
}
